package it.fantacalcio.hibernate.dao;

import java.util.List;

import it.fantacalcio.model.Role;

public interface RoleDAO {
	
	public void save(Role role) throws Exception;
	public void delete(Role role) throws Exception;
	public void update(Role role) throws Exception;
	public Role get(Long id) throws Exception;
	public List<Role> list() throws Exception;
	public List<Role> findByExample(Role role) throws Exception;
	
}
